home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / oleo-1_4.lha / oleo-1.4 / stub.h < prev    next >
C/C++ Source or Header  |  1993-01-28  |  1KB  |  45 lines

  1. #ifndef STUBH
  2. #define STUBH
  3.  
  4. /*    Copyright (C) 1993 Free Software Foundation, Inc.
  5.  
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with this software; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19. /*  t. lord    Wed Jan 27 00:58:28 1993    */
  20.  
  21.  
  22. /* Stub functions are used to read arguments from a command_frame
  23.  * and call a generic C function.
  24.  */
  25.  
  26. #ifdef __STDC__
  27. typedef void (*cmd_invoker) (struct command_frame *);
  28. #else
  29. typedef void (*cmd_invoker) ();
  30. #endif
  31.  
  32.  
  33. #ifdef __STDC__
  34. extern cmd_invoker find_stub (void);
  35.  
  36. #else
  37. extern cmd_invoker find_stub ();
  38.  
  39. #endif
  40.  
  41.  
  42. #endif  /* STUBH */
  43.  
  44.  
  45.